cmake_minimum_required(VERSION 3.0) 
PROJECT(LSD)

#Set the C++ options
set(CMAKE_CXX_STANDARD 14)
set(CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD_REQUIRED ON)


IF( NOT DEFINED MODULE_OUT_PATH )
  SET( MODULE_OUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/lib/ )
ENDIF()
SET( LIBRARY_OUTPUT_PATH ${MODULE_OUT_PATH})

# Generate static library
SET( SOURCE_FILE 
    lsd.c
)
ADD_LIBRARY(${PROJECT_NAME} STATIC ${SOURCE_FILE})

target_include_directories( ${PROJECT_NAME} 
  PUBLIC
    ${PROJECT_SOURCE_DIR}
)